<style>
    .nav > li > a:hover{
        background-color: white;
    }
</style>
<div class="span1">
    <?php
$size=50;
$hash=$user['User']['gravatar'];
echo '<img src=http://www.gravatar.com/avatar/'.$hash.'?s='.$size.'&amp;default='.
				urlencode('http://www.gravatar.com/avatar/ad516503a11cd5ca435acc9bb6523536?s='.$size).'>';
                                        
                                        ?>
</div>
<div class="spa11">
    <h1><?php echo h($user['User']['username']); ?></h1>

<p><small>Created: <?php echo $user['User']['created']; ?></small></p>

</div>


<?php if(isset($projects)){ ?>

<?php if(count($projects)== 0 ) echo '<div class="alert">
            <button type="button" class="close" data-dismiss="alert">×</button>
            <strong>Usted no cuenta es miebro de ningún equipo</strong>
        </div>' ?>
<table>
<?php foreach ($projects as $org): ?>
    <div class="row-fluid " style=" margin-bottom: 20px;  margin-top: 20px;">
        <div class="span12">
            <div class="span2">
                <a href="#" class="thumbnail"  style=" border: none; box-shadow: none;">
                    <?php
                    echo $this->Html->image('projects.png') ;
                ?>

                    <img alt="" style="position: relative; width: 60px; height: 60px; overflow: hidden;  top: -100px; " src="http://mfassets.s3.amazonaws.com/company/C68F6E32703B5C0B3EFF486008D757E76/mockup/13B241FADC5D8CEFF1E9860FE3E9A7D0">
                </a>
            </div>

            <div class="span10">
                <div class="caption">
                    <h3>
                        <?php
            echo $this->Html->link($org['Project']['name'],array('controller'=>'projects','action'=>'view',$org['Project']['id']));
            ?></h3>
                    <p>
                        <?php echo $org['Project']['description']?>
                    </p>

                    
                </div>
            </div>
        </div>
    </div>
    <tr>
        <td> 
        </td>
        <td>
            <?php 
            //echo $this->Html->link($user['User']['username'],array('controller' => 'users', 'action' => 'view', $user['User']['id'])); 
            ?>
        </td>
        <td><?php
        //echo $user['User']['created'];
        ?></td>
    </tr>
<?php endforeach; ?>
</table>




<?php }?>